package com.asset.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 部门信息
 * @author 11725
 */
@Data
@Table(name = "tab_department")
public class Department {
    /** 部门编号 */
    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "depa_id")
    private Long id;

    /** 部门名称 */
    @Column(name = "depa_name")
    private String name;

    /** 状态 */
    private Integer status;
}
